<html><head>
   <title>The Variables Window</title>
   <meta name="generator"  content="HelpMaker.net">
   <meta name="keywords"  content="Variables Window,Debugger WindowsIDE Windows"></head>
<body bgcolor="#FFFCEA">
<table width="100%"  border="0"  cellspacing="0"  cellpadding="2"  bgcolor="#C0C0C0">
  <tr>
    <td align="left">
      <div align="left"><font face="Arial"  size="4"><span style=" font-size:14pt; font-family:Arial; color:#000000">The Variables Window</span></font></div>

    </td>
    <td align="right">
      <font face="Arial"  size="2">
        <a href="callstackwindow.htm">Previous</a>&nbsp;<a href="pyscripter.htm">Top</a>&nbsp;<a href="watcheswindow.htm">Next</a>
      </font>
    </td>
  </tr></table>
<hr><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">During debugging and while the interpreter is stopped at a breakpoint , the Variables window 
displays the local and global variables for the selected stack frame in the </span></font><a href="callstackwindow.htm"><font face="Arial"  color="#0000ff"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#0000ff"><u>Call Stack</u></span></font></a><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"> 
window 
which is usually the top frame.&nbsp;&nbsp; The left pane shows a hierarchical view with the value of 
each variable.&nbsp; Any Python object with a dictionary interface (classes, objects, dictionaries 
etc.) can be expanded so that key-value pairs are inspected.&nbsp; Variables that have been 
changed or are new while stepping through code are color coded.&nbsp; Changed variables are 
displayed with red color and new variables with blue color.&nbsp; The left hand pane of the 
Variables window displays the type, value and documentation of the selected variable.</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">When the debugger is not active the Variables window displays the global variables of the 
interpreter.</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101">You cannot change the values of variables in this window.&nbsp;&nbsp; In fact you cannot change local 
function variables while debugging in Python (the locals dictionary is read-only).&nbsp; Global 
variables can be changed though in the </span></font><a href="pythoninteractiveinterpreter.htm"><font face="Arial"  color="#0000ff"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#0000ff"><u>Interactive Interpreter</u></span></font></a><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"> 
window.</span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><font face="Arial"  color="#010101"  size="2"><span style=" font-size:10pt; font-family:Arial; color:#010101"><br></span></font></div><div align="left"><img src="variableswindow1.JPG" style="width:47.50em; height:11.31em"   border="0"  alt="graphic"></div>

</body></html>
